import { request } from '@/utils'
// 商品类型接口(API)
export default {
  toggleRole: data => request.post('/auth/role/toggle', data),
  categoryAddApi: data => request.post('/basic-api/mallProgram/functionList/add', data),
  categoryListApi: params => request.get('/basic-api/mallProgram/functionList/list', { params }),
  categoryDeleteApi: data => request.post('/basic-api/mallProgram/functionList/delete', data),
  categoryEditApi: data => request.post('/basic-api/mallProgram/functionList/edit', data),
  myPluinApi: data => request.post('/basic-api/plugin/myPlugin', data),
}
